🎨 Palette: Keyboard Accessible Tooltips#198
Conversation
Wrapped hover-only `<Info>` icons in focusable `<button>` elements with clear `aria-label`s and `aria-hidden="true"` on the decorative SVG. Converted `group-hover` Tailwind classes to `peer-hover:visible peer-focus:visible` with `role="tooltip"` to ensure proper visibility for both mouse hover and keyboard focus navigation. Co-authored-by: thebearwithabite <216692431+thebearwithabite@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR addresses an accessibility issue where several informational tooltips in the Dashboard and Settings panels were completely inaccessible to keyboard navigators and screen readers.
💡 What:
<Info>icons that triggered tooltips on hover into focusable<button type="button">elements.aria-labelattributes to the buttons (e.g., "Disk space protection info").aria-hidden="true"to the decorative Lucide<Info>components.group-hover:visiblestrategy topeer-hover:visible peer-focus:visible.🎯 Why:
♿ Accessibility:
role="tooltip".Files Modified:
frontend_v2/src/components/dashboard/DiskSpaceWidget.tsxfrontend_v2/src/components/dashboard/MonitorStatusWidget.tsxfrontend_v2/src/components/settings/ConfidenceModeSwitcher.tsxfrontend_v2/src/components/settings/RollbackPanel.tsxPR created automatically by Jules for task 8014022226637141112 started by @thebearwithabite